package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * PersonTeamRel entity. @author MyEclipse Persistence Tools
 */
public class PersonTeamRel implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4696255555685182382L;
	private Integer id;
	private Person person;
	private Team team;
	private Timestamp lastUpdatedStamp;
	private Timestamp createdStamp;
	private Set<ExhibitionTeamRel> exhibitionTeamRels = new HashSet<ExhibitionTeamRel>(0);

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public Team getTeam() {
		return team;
	}

	public Set<ExhibitionTeamRel> getExhibitionTeamRels() {
		return exhibitionTeamRels;
	}

	public void setExhibitionTeamRels(Set<ExhibitionTeamRel> exhibitionTeamRels) {
		this.exhibitionTeamRels = exhibitionTeamRels;
	}

	public void setTeam(Team team) {
		this.team = team;
	}

	public Timestamp getLastUpdatedStamp() {
		return lastUpdatedStamp;
	}

	public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
		this.lastUpdatedStamp = lastUpdatedStamp;
	}

	public Timestamp getCreatedStamp() {
		return createdStamp;
	}

	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}

}
